//package cn.etynit.org.controller;
//import cn.etynit.basic.anno.PreAuthorize;
//import cn.etynit.basic.util.PageList;
//import cn.etynit.org.domain.Aop;
//import cn.etynit.org.domain.SDdetail;
//import cn.etynit.org.query.AopQuery;
//import cn.etynit.org.service.AopService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RestController;
//
//@RestController
////@PreAuthorize
//
//public class AopController {
//    @Autowired
//    private AopService aopService;
//
//    // 添加aop日志
////    @PreAuthorize(name = "添加日志",sn = "department:add")
//    public void add(Aop aop){
//        aopService.add(aop);
//    }
//
//    // 分页查询
//    @PostMapping
////    @PreAuthorize(name = "查询日志",sn = "department:queryByPage")
//    public PageList<Aop> queryByPage(@RequestBody AopQuery aopQuery){
//        return aopService.queryByPage(aopQuery);
//    }
//}
